/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package org.smarttmt.smartmanager.model;

import java.math.BigDecimal;
import java.math.BigInteger;
/*
import java.util.List;
import javax.xml.bind.annotation.XmlTransient;
import org.smarttmt.smartmanager.entity.Acticarg;
import org.smarttmt.smartmanager.entity.Estrcheq;
import org.smarttmt.smartmanager.entity.Formula;
import org.smarttmt.smartmanager.entity.Mantprod;
import org.smarttmt.smartmanager.entity.Procacti;
import org.smarttmt.smartmanager.entity.Proyacti;
import org.smarttmt.smartmanager.entity.Requerim;
import org.smarttmt.smartmanager.entity.Soesesti;
import org.smarttmt.smartmanager.entity.VMantprod;
import org.smarttmt.smartmanager.entity.VwEstarequ;
import org.smarttmt.smartmanager.entity.VwMantprodProyacti;
import org.smarttmt.smartmanager.entity.VwRequerimActas;
*/

/**
 *
 * @author nicolas
 */
public class ActividadM {

    private String acticodi;
    private String actidesc;
    private String actitiac;
    private String actitipo;
    private Short actisecu;
    private String actiresp;
    private String actigere;
    private String acticore;
    private BigDecimal actimapo;
    private String actisiac;
    private BigDecimal actihoes;
    private String actirefe;
    private String actirsql;
    private String actiesac;
    private String actiesfi;
    private String actireas;
    private String actireop;
    private String actiplan;
    private String actideso;
    private String acticati;
    private String actigeia;
    private BigInteger activweb;
    private String actienco;
    /*
    private List<Soesesti> soesestiList;
    private Formula actiform;
    private Estrcheq actilich;
    private List<Requerim> requerimList;
    private List<Mantprod> mantprodList;
    private List<Proyacti> proyactiList;
    private List<VwRequerimActas> vwRequerimActasList;
    private List<VwRequerimActas> vwRequerimActasList1;
    private List<VMantprod> vMantprodList;
    private List<Acticarg> acticargList;
    private List<VwEstarequ> vwEstarequList;
    private List<Procacti> procactiList;
    private List<VwMantprodProyacti> vwMantprodProyactiList;
    private List<VwMantprodProyacti> vwMantprodProyactiList1;
    */
    
    public ActividadM() {
    }

    public ActividadM(String acticodi) {
        this.acticodi = acticodi;
    }

    public ActividadM(String acticodi, String actidesc, String actitiac, String actitipo, Short actisecu, String actiresp, String actigere, String acticore, BigDecimal actimapo, String actisiac, BigDecimal actihoes, String actirefe, String actirsql, String actiesac, String actiesfi, String actireas, String actireop, String actiplan, String actideso, String acticati, String actigeia, BigInteger activweb, String actienco) {
        this.acticodi = acticodi;
        this.actidesc = actidesc;
        this.actitiac = actitiac;
        this.actitipo = actitipo;
        this.actisecu = actisecu;
        this.actiresp = actiresp;
        this.actigere = actigere;
        this.acticore = acticore;
        this.actimapo = actimapo;
        this.actisiac = actisiac;
        this.actihoes = actihoes;
        this.actirefe = actirefe;
        this.actirsql = actirsql;
        this.actiesac = actiesac;
        this.actiesfi = actiesfi;
        this.actireas = actireas;
        this.actireop = actireop;
        this.actiplan = actiplan;
        this.actideso = actideso;
        this.acticati = acticati;
        this.actigeia = actigeia;
        this.activweb = activweb;
        this.actienco = actienco;
    }
    
    

    public ActividadM(String acticodi, String actidesc, String actitiac) {
        this.acticodi = acticodi;
        this.actidesc = actidesc;
        this.actitiac = actitiac;
    }

    public String getActicodi() {
        return acticodi;
    }

    public void setActicodi(String acticodi) {
        this.acticodi = acticodi;
    }

    public String getActidesc() {
        return actidesc;
    }

    public void setActidesc(String actidesc) {
        this.actidesc = actidesc;
    }

    public String getActitiac() {
        return actitiac;
    }

    public void setActitiac(String actitiac) {
        this.actitiac = actitiac;
    }

    public String getActitipo() {
        return actitipo;
    }

    public void setActitipo(String actitipo) {
        this.actitipo = actitipo;
    }

    public Short getActisecu() {
        return actisecu;
    }

    public void setActisecu(Short actisecu) {
        this.actisecu = actisecu;
    }

    public String getActiresp() {
        return actiresp;
    }

    public void setActiresp(String actiresp) {
        this.actiresp = actiresp;
    }

    public String getActigere() {
        return actigere;
    }

    public void setActigere(String actigere) {
        this.actigere = actigere;
    }

    public String getActicore() {
        return acticore;
    }

    public void setActicore(String acticore) {
        this.acticore = acticore;
    }

    public BigDecimal getActimapo() {
        return actimapo;
    }

    public void setActimapo(BigDecimal actimapo) {
        this.actimapo = actimapo;
    }

    public String getActisiac() {
        return actisiac;
    }

    public void setActisiac(String actisiac) {
        this.actisiac = actisiac;
    }

    public BigDecimal getActihoes() {
        return actihoes;
    }

    public void setActihoes(BigDecimal actihoes) {
        this.actihoes = actihoes;
    }

    public String getActirefe() {
        return actirefe;
    }

    public void setActirefe(String actirefe) {
        this.actirefe = actirefe;
    }

    public String getActirsql() {
        return actirsql;
    }

    public void setActirsql(String actirsql) {
        this.actirsql = actirsql;
    }

    public String getActiesac() {
        return actiesac;
    }

    public void setActiesac(String actiesac) {
        this.actiesac = actiesac;
    }

    public String getActiesfi() {
        return actiesfi;
    }

    public void setActiesfi(String actiesfi) {
        this.actiesfi = actiesfi;
    }

    public String getActireas() {
        return actireas;
    }

    public void setActireas(String actireas) {
        this.actireas = actireas;
    }

    public String getActireop() {
        return actireop;
    }

    public void setActireop(String actireop) {
        this.actireop = actireop;
    }

    public String getActiplan() {
        return actiplan;
    }

    public void setActiplan(String actiplan) {
        this.actiplan = actiplan;
    }

    public String getActideso() {
        return actideso;
    }

    public void setActideso(String actideso) {
        this.actideso = actideso;
    }

    public String getActicati() {
        return acticati;
    }

    public void setActicati(String acticati) {
        this.acticati = acticati;
    }

    public String getActigeia() {
        return actigeia;
    }

    public void setActigeia(String actigeia) {
        this.actigeia = actigeia;
    }

    public BigInteger getActivweb() {
        return activweb;
    }

    public void setActivweb(BigInteger activweb) {
        this.activweb = activweb;
    }

    public String getActienco() {
        return actienco;
    }

    public void setActienco(String actienco) {
        this.actienco = actienco;
    }

    /*
    @XmlTransient
    public List<Soesesti> getSoesestiList() {
    return soesestiList;
    }
    public void setSoesestiList(List<Soesesti> soesestiList) {
    this.soesestiList = soesestiList;
    }
    public Formula getActiform() {
    return actiform;
    }
    public void setActiform(Formula actiform) {
    this.actiform = actiform;
    }
    public Estrcheq getActilich() {
    return actilich;
    }
    public void setActilich(Estrcheq actilich) {
    this.actilich = actilich;
    }
    @XmlTransient
    public List<Requerim> getRequerimList() {
    return requerimList;
    }
    public void setRequerimList(List<Requerim> requerimList) {
    this.requerimList = requerimList;
    }
    @XmlTransient
    public List<Mantprod> getMantprodList() {
    return mantprodList;
    }
    public void setMantprodList(List<Mantprod> mantprodList) {
    this.mantprodList = mantprodList;
    }
    @XmlTransient
    public List<Proyacti> getProyactiList() {
    return proyactiList;
    }
    public void setProyactiList(List<Proyacti> proyactiList) {
    this.proyactiList = proyactiList;
    }
    @XmlTransient
    public List<VwRequerimActas> getVwRequerimActasList() {
    return vwRequerimActasList;
    }
    public void setVwRequerimActasList(List<VwRequerimActas> vwRequerimActasList) {
    this.vwRequerimActasList = vwRequerimActasList;
    }
    @XmlTransient
    public List<VwRequerimActas> getVwRequerimActasList1() {
    return vwRequerimActasList1;
    }
    public void setVwRequerimActasList1(List<VwRequerimActas> vwRequerimActasList1) {
    this.vwRequerimActasList1 = vwRequerimActasList1;
    }
    @XmlTransient
    public List<VMantprod> getVMantprodList() {
    return vMantprodList;
    }
    public void setVMantprodList(List<VMantprod> vMantprodList) {
    this.vMantprodList = vMantprodList;
    }
    @XmlTransient
    public List<Acticarg> getActicargList() {
    return acticargList;
    }
    public void setActicargList(List<Acticarg> acticargList) {
    this.acticargList = acticargList;
    }
    @XmlTransient
    public List<VwEstarequ> getVwEstarequList() {
    return vwEstarequList;
    }
    public void setVwEstarequList(List<VwEstarequ> vwEstarequList) {
    this.vwEstarequList = vwEstarequList;
    }
    @XmlTransient
    public List<Procacti> getProcactiList() {
    return procactiList;
    }
    public void setProcactiList(List<Procacti> procactiList) {
    this.procactiList = procactiList;
    }
    @XmlTransient
    public List<VwMantprodProyacti> getVwMantprodProyactiList() {
    return vwMantprodProyactiList;
    }
    public void setVwMantprodProyactiList(List<VwMantprodProyacti> vwMantprodProyactiList) {
    this.vwMantprodProyactiList = vwMantprodProyactiList;
    }
    @XmlTransient
    public List<VwMantprodProyacti> getVwMantprodProyactiList1() {
    return vwMantprodProyactiList1;
    }
    public void setVwMantprodProyactiList1(List<VwMantprodProyacti> vwMantprodProyactiList1) {
    this.vwMantprodProyactiList1 = vwMantprodProyactiList1;
    }
    */
    
    @Override
    public String toString() {
        return "Actividad{" + "acticodi=" + acticodi + ", actidesc=" + actidesc + ", actitiac=" + actitiac + ", actitipo=" + actitipo + ", actisecu=" + actisecu + ", actiresp=" + actiresp + ", actigere=" + actigere + ", acticore=" + acticore + ", actimapo=" + actimapo + ", actisiac=" + actisiac + ", actihoes=" + actihoes + ", actirefe=" + actirefe + ", actirsql=" + actirsql + ", actiesac=" + actiesac + ", actiesfi=" + actiesfi + ", actireas=" + actireas + ", actireop=" + actireop + ", actiplan=" + actiplan + ", actideso=" + actideso + ", acticati=" + acticati + ", actigeia=" + actigeia + ", activweb=" + activweb + ", actienco=" + actienco + '}';
    }
    
    public boolean actividaMapped(org.smarttmt.smartmanager.entity.Activida activida){
        
        try {
            setActicati(activida.getActicati());
            setActicodi(activida.getActicodi());
            setActicore(activida.getActicore());
            setActidesc(activida.getActidesc());
            return true;
        } catch (Exception e) {
            return false;
        }
        
    }
    
}
